package com.java.star.mall.front.pojo.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

/**
 * 用户所在位置参数类
 */
@Data
public class UserLocationParam implements Serializable {

    private static final long serialVersionUID = 7196917594473348204L;

    @ApiModelProperty(value = "纬度", required = true)
    @NotEmpty(message = "纬度不能为空")
    private String latitude;

    @ApiModelProperty(value = "经度", required = true)
    @NotEmpty(message = "经度不能为空")
    private String longitude;
}
